/*
 * @Author: chen haoxuan
 * @Date: 2021-06-17 20:53:32
 * @LastEditTime: 2021-06-17 20:55:46
 */
#include <iostream>
int main()
{
    void showArry(int arry[]);
    int getAverage(int arry[]);
    int arry[9];
    int count=0;
    int temp;
    for (int i = 0; i < 10; i++)
    {
      cin>>arry[i];
    }
    showArry(arry);
    count = getAverage(arry);
    count<<"biger than average numbers is:"<<count<<endl;
    scanf("%d",&temp);
    return 0;
}
void showArry(int arry[])
{
  for (int i = 0; i < 10; i++)
  {
    printf("%d ",arry[i]);
  }
}
int getAverage(int arry[])
{
  int sum=0;
  float average=0;
  int count=0;
  for (int i = 0; i < 10; i++)
  {
    sum=sum+arry[i];
  }
  average = sum/10;
  printf("avarage is :%f \n",average);
  for (int j = 0; j < 9; j++)
  {
    if (arry[j]>average)
    {
      count++;
    }
  }
  return count;
}
